package db.migration;

import net.jiastudy.core.base.BaseMigration;

public class V1_0_9__modify_task_origin extends BaseMigration {
    @Override
    public void migrate() throws Exception {
        jdbcTemplate.update("UPDATE `target_task` SET `origin` = 'A+' WHERE `origin` = 'A'");
        jdbcTemplate.update("UPDATE `target_task` SET `origin` = 'A' WHERE `origin` = 'B'");
        jdbcTemplate.update("UPDATE `target_task` SET `origin` = 'B' WHERE `origin` = 'C'");
    }
}
